package com.isoft.student.dao;

import com.isoft.student.eo.ExampaperEOPage;
import com.isoft.student.model.Exampaper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 操作数据库方法的对接
 */
@Mapper
public interface ExampaperMapper {

    //试卷考题表添加
    int insertExampaper(Exampaper exampaper);
    //通过答题表答题id来获取学生答题
    int getTestpaperidCount(Integer testpaperid);
    //试卷考题表更新
    int updateExampaper(Exampaper exampaper);
     //通过主键试卷考题删除
    int delExampaper(Integer testpaperid);
    ////根据条件获取相关信息
    List<ExampaperEOPage> getExampaperWhereAll(ExampaperEOPage exampaperEOPage);
}
